<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: white-space normal: simple tests</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/normal/001.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model" />
  <style type="text/css">* { margin: 0; padding: 0 }
   .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
   * { white-space: normal; }
   div { display: block; }
   span { display: inline; }
   table { padding: 0; border-spacing: 0; border: solid; }
   td { font: 20px/1 Ahem; color: red; background: red; padding: 0; }
   .red { background: red; }
   .green { color: green; background: lime; }
   .check { width: 3em; background: lime; color: green; }
  </style>
 </head>
 <body>
  <div class="control">Ahem_font_required_for_this_test.</div>
  <p>There should be three columns below, dark green, light green, and dark green, with no red anywhere.</p>
  <table>
   <tr>
    <td>
     <div class="red"> </div>
     <div class="red"> <div></div></div>
     <div class="red"> <div> </div></div>
     <div class="red"><div> </div></div>
     <div class="red"><div> </div> </div>
     <div class="red"><div></div> </div>
     <div class="red"> <div></div> </div>
     <div class="red"> <div> </div> </div>
     <div class="green"><span>X</span> <span>X</span></div>
     <div class="green"> <span>X</span> <span>X</span></div>
     <div class="green"><span>X</span> <span>X</span> </div>
     <div class="green"> <div></div> <span>X</span> <span>X</span> </div>
     <div class="green"> <span>X</span> <span>X</span> <div></div> </div>
     <div class="check">X X</div>
    </td>
   </tr>
  </table>
 </body>
</html>
